<template>
  <div id="app">
    <router-link to="/">
      <svg class="icon">
        <use xlink:href="#icon-home"></use>
      </svg>
      Home
    </router-link>
    <router-link to="/about">
      <svg class="icon">
        <use xlink:href="#icon-play"></use>
      </svg>
      About
    </router-link>
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
.icon {
  width: 20px;
  height: 20px;
}
</style>
